home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60rt.lha / Vim / vim60 / doc / os_amiga.txt < prev    next >
Encoding:
Text File  |  2001-09-26  |  3.2 KB  |  79 lines

  1. *os_amiga.txt*  For Vim version 6.0.  Last change: 2001 Sep 03
  2.  
  3.  
  4.           VIM REFERENCE MANUAL    by Bram Moolenaar
  5.  
  6.  
  7.                             *Amiga*
  8. This file contains the particularities for the Amiga version of Vim.
  9.  
  10. Installation on the Amiga:
  11. - Assign "VIM:" to the directory where the Vim "doc" directory is.  Vim will
  12.   look for the file "VIM:doc/help.txt" (for the help command).
  13.   Setting the environment variable $VIM also works.  And the other way around:
  14.   when $VIM used and it is not defined, "VIM:" is used.
  15. - With DOS 1.3 or earlier: Put "arp.library" in "libs:". Vim must have been
  16.   compiled with the |+ARP| feature enabled.  Make sure that newcli and run are
  17.   in "C:" (for executing external commands).
  18. - Put a shell that accepts a command with "-c" (e.g. "Csh" from Fish disk
  19.   624) in "c:" or in any other directory that is in your search path (for
  20.   executing external commands).
  21.  
  22. If you have sufficient memory you can avoid startup delays by making Vim and
  23. csh resident with the command "rez csh vim". You will have to put
  24. "rezlib.library" in your "libs:" directory. Under 2.0 you will need rez
  25. version 0.5.
  26.  
  27. If you do not use digraphs, you can save some memory by recompiling without
  28. the |+digraphs| feature. If you want to use Vim with other terminals you can
  29. recompile with the TERMCAP option. Vim compiles with Manx 5.x and SAS 6.x.
  30. See the makefiles and feature.h.
  31.  
  32. If you want to use different colors set the termcap codes:
  33.     t_mr (for inverted text)
  34.     t_md (for bold text)
  35.     t_me (for normal text after t_mr and t_md)
  36.     t_so (for standout mode)
  37.     t_se (for normal text after t_so)
  38.     t_us (for underlined text)
  39.     t_ue (for normal text after t_us)
  40.     t_ZH (for italic text)
  41.     t_ZR (for normal text after t_ZH)
  42.  
  43. Standard ANSI escape sequences are used. The codes are:
  44. 30 grey char   40 grey cell   >0 grey background    0 all attributes off
  45. 31 black char  41 black cell  >1 black background   1 boldface
  46. 32 white char  42 white cell  >2 white background   2 faint
  47. 33 blue char   43 blue cell   >3 blue background    3 italic
  48. 34 grey char   44 grey cell   >4 grey background    4 underscore
  49. 35 black char  45 black cell  >5 black background   7 reverse video
  50. 36 white char  46 white cell  >6 white background   8 invisible
  51. 37 blue char   47 blue cell   >7 blue background
  52.  
  53. The codes with '>' must be the last. The cell and background color should be
  54. the same. The codes can be combined by separating them with a semicolon. For
  55. example to get white text on a blue background: >
  56.   :set t_me=^V<Esc>[0;32;43;>3m
  57.   :set t_se=^V<Esc>[0;32;43;>3m
  58.   :set t_ue=^V<Esc>[0;32;43;>3m
  59.   :set t_ZR=^V<Esc>[0;32;43;>3m
  60.   :set t_md=^V<Esc>[1;32;43;>3m
  61.   :set t_mr=^V<Esc>[7;32;43;>3m
  62.   :set t_so=^V<Esc>[0;31;43;>3m
  63.   :set t_us=^V<Esc>[4;32;43;>3m
  64.   :set t_ZH=^V<Esc>[3;32;43;>3m
  65.  
  66. When using multiple commands with a filter command, e.g. >
  67.   :r! echo this; echo that
  68. Only the output of the last command is used. To fix this you have to group the
  69. commands. This depends on the shell you use (that is why it is not done
  70. automatically in Vim). Examples: >
  71.   :r! (echo this; echo that)
  72.   :r! {echo this; echo that}
  73.  
  74. Commands that accept a single file name allow for embedded spaces in the file
  75. name. However, when using commands that accept several file names, embedded
  76. spaces need to be escaped with a backslash.
  77.  
  78.  vim:tw=78:ts=8:ft=help:norl:
  79.